//
//  JSQVoiceView.h
//  Conversation
//
//  Created by C_HAO on 15/9/25.
//  Copyright © 2015年 CHAOO. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum JSQVoiceStateType {
    JSQVoiceStateBegin,
    JSQVoiceStateSend,
    JSQVoiceStateCancel,
    JSQVoiceStateMoveIn,
    JSQVoiceStateMoveOuter,
    JSQVoiceStateFailed,
    JSQVoiceStateShortTime
}JSQVoiceStateType;


@protocol JSQVoiceViewDelegate <NSObject>

- (void)voiceState:(JSQVoiceStateType)voiceStateType;

@end


@interface JSQVoiceView : UIView

@property (nonatomic, weak) id<JSQVoiceViewDelegate> delegate;

@property (weak, nonatomic) IBOutlet UIImageView *imageView;

@property (weak, nonatomic) IBOutlet UILabel *label;


@end
